Optimal. Leaf size=66 \[ \frac{5 b^{3/2} \tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{2 a^{7/2}}-\frac{5 b x}{2 a^3}+\frac{5 x^3}{6 a^2}-\frac{x^5}{2 a \left (a x^2+b\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0851529, antiderivative size = 66, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.308 \[ \frac{5 b^{3/2} \tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{2 a^{7/2}}-\frac{5 b x}{2 a^3}+\frac{5 x^3}{6 a^2}-\frac{x^5}{2 a \left (a x^2+b\right )} \]
Antiderivative was successfully verified.
[In] Int[x^2/(a + b/x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{x^{5}}{2 a \left (a x^{2} + b\right )} + \frac{5 x^{3}}{6 a^{2}} - \frac{5 \int b\, dx}{2 a^{3}} + \frac{5 b^{\frac{3}{2}} \operatorname{atan}{\left (\frac{\sqrt{a} x}{\sqrt{b}} \right )}}{2 a^{\frac{7}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2/(a+b/x**2)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0788073, size = 60, normalized size = 0.91 \[ \frac{5 b^{3/2} \tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{2 a^{7/2}}+\frac{x \left (-\frac{3 b^2}{a x^2+b}+2 a x^2-12 b\right )}{6 a^3} \]
Antiderivative was successfully verified.
[In] Integrate[x^2/(a + b/x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 57, normalized size = 0.9 \[{\frac{{x}^{3}}{3\,{a}^{2}}}-2\,{\frac{bx}{{a}^{3}}}-{\frac{{b}^{2}x}{2\,{a}^{3} \left ( a{x}^{2}+b \right ) }}+{\frac{5\,{b}^{2}}{2\,{a}^{3}}\arctan \left ({ax{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2/(a+b/x^2)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(a + b/x^2)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.230668, size = 1, normalized size = 0.02 \[ \left [\frac{4 \, a^{2} x^{5} - 20 \, a b x^{3} - 30 \, b^{2} x + 15 \,{\left (a b x^{2} + b^{2}\right )} \sqrt{-\frac{b}{a}} \log \left (\frac{a x^{2} + 2 \, a x \sqrt{-\frac{b}{a}} - b}{a x^{2} + b}\right )}{12 \,{\left (a^{4} x^{2} + a^{3} b\right )}}, \frac{2 \, a^{2} x^{5} - 10 \, a b x^{3} - 15 \, b^{2} x + 15 \,{\left (a b x^{2} + b^{2}\right )} \sqrt{\frac{b}{a}} \arctan \left (\frac{x}{\sqrt{\frac{b}{a}}}\right )}{6 \,{\left (a^{4} x^{2} + a^{3} b\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(a + b/x^2)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.72013, size = 107, normalized size = 1.62 \[ - \frac{b^{2} x}{2 a^{4} x^{2} + 2 a^{3} b} - \frac{5 \sqrt{- \frac{b^{3}}{a^{7}}} \log{\left (- \frac{a^{3} \sqrt{- \frac{b^{3}}{a^{7}}}}{b} + x \right )}}{4} + \frac{5 \sqrt{- \frac{b^{3}}{a^{7}}} \log{\left (\frac{a^{3} \sqrt{- \frac{b^{3}}{a^{7}}}}{b} + x \right )}}{4} + \frac{x^{3}}{3 a^{2}} - \frac{2 b x}{a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2/(a+b/x**2)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.219757, size = 82, normalized size = 1.24 \[ \frac{5 \, b^{2} \arctan \left (\frac{a x}{\sqrt{a b}}\right )}{2 \, \sqrt{a b} a^{3}} - \frac{b^{2} x}{2 \,{\left (a x^{2} + b\right )} a^{3}} + \frac{a^{4} x^{3} - 6 \, a^{3} b x}{3 \, a^{6}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(a + b/x^2)^2,x, algorithm="giac")
[Out]